<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单提交</title>
</head>
<body>

    <form action="#" method="post">

        <input type="hidden" name="id" value="123">
        <label for="username">用户名：</label>
        <input type="text" name="username" id="username">
        <br>
        <label for="password">密码：</label>
        <input type="password" name="password" id="password">
        <br>
        性别：
        <label for="male">男</label>
        <input type="radio" value="1" name="gender" id="male">
        <label for="female">女</label>
        <input type="radio" value="2" name="gender" id="female">

        <br>
        爱好：
        <input type="checkbox" name="hobby" value="1">旅游
        <input type="checkbox" name="hobby" value="2">电影
        <input type="checkbox" name="hobby" value="3">游戏
        <br>
        头像：<input type="file">
        <br>
        城市：<select>
        <option label="北京"></option>
        <option label="广州"></option>
        <option label="上海" value="shanghai"></option>
              </select>
        <br>
        个人描述:<textarea cols="20" rows="5" name="desc"></textarea>
        <br>
        <input type="submit" value="免费注册">
        <input type="reset" value="重置">
        <input type="button" value="一个按钮">


    </form>


</body>
</html>